package com.example.demo.utils.excelUtil;

import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import java.util.Collection;
import java.util.List;

/**
 * @author wangxinyuchuan
 * @version ExportExcelDataAction.java v1.0 2025/7/24 16:56 wangxinyuchuan Exp $
 */
@FunctionalInterface
public interface ExportExcelDataAction<T> {

    Workbook getWorkbook(String titleText, List<T> excelDataList);

}
